package com.beyond.market.cart.dao;

import com.beyond.market.cart.domain.Cart;
import org.apache.ibatis.annotations.Mapper;

import java.sql.SQLException;

@Mapper
public interface CartMapper {
    public int update(Integer cartId) throws SQLException;
    public Cart getByPrimaryKey(Integer cartId) throws SQLException;
    public int remove (Integer id) throws SQLException;
    public Cart getById(Integer id) throws SQLException;
    public int save(Cart cart) throws SQLException;
}
